package homework_03;

import java.util.Scanner;

public class home_12 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a=sc.nextInt();
        double b;
        if (a<100){
            b=1;
        }else if (a>100&&a<5000){
            b=a*0.01;
        }else{
            b=50;
        }
        System.out.println(b);
    }
}
